package com.mao.spring.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;

/**
 * @author: Administrator
 * @description:
 * @cteate 2021-06-15-15:50
 */
// 启用环路断路器功能（hystrix熔断）
@EnableCircuitBreaker
@SpringBootApplication
public class MySpringMainType {

    public static void main(String[] args) {
        SpringApplication.run(MySpringMainType.class,args);
    }

}
